<table class="datagrid">
  <thead class="datagrid">
    <tr>
      <th style="width:20px;">
        Date
      </th>
      <th style="width:20px;">
        Credit#
      </th>
      <th style="width:20px;">
        Invoice#
      </th>
      <th style="width:200px;">
        Name
      </th>
      <th style="width:50px;">
        Amount
      </th>
      <th style="width:20px;">
        Void
      </th>
      <th style="width:16px;">
      </th>
    </tr>
  </thead>
  <tbody class="datagrid">
    <?php foreach($creditMemos as $creditMemo):?>
    <tr id="row_credit_<?php echo $creditMemo->getCreditIden()?>">
      <?php include_partial('credit_grid_td',array('creditMemo'=>$creditMemo,))?>
    </tr>
    <?php endforeach;?>
  </tbody>
</table>